<?php
require_once("../class/Include.class.php"); 
$obj_site = new Site(); 


#	==============================================================	#
#	TITLE, DESCRIPTION, KEYWORDS	#
#	==============================================================	#
$title = "";
$description = "";
$keywords = "";
 



?>
<!doctype html>
<html>
<head>
<?php require_once('../includes/head.php'); ?>





</head>

<body>



<div class="container">

 
	<?php require_once("../includes/topo.php"); ?>

	
    
    <div class="titulo_interna">
    	
        <h2>SERVIÇOS</h2>
        
    </div>
   
    
   
    
    <ul class="lista_servicos">
        
        
        <?php
        $result = $obj_site->select("tb_servicos");
        if(mysql_num_rows($result) > 0)
        {
                while($row = mysql_fetch_array($result))
                {                   
                ?>
                    <li>
                        <div class="lista_servicos_imagem rounded">
                            <img src="../uploads/tumb_<?php Util::imprime($row[imagem]) ?>" alt="<?php Util::imprime($row[titulo]) ?>">
                            <h3><?php Util::imprime($row[titulo]) ?></h3>
                        </div>

                        <p><?php Util::imprime($row[descricao], 180) ?></p>

                        <div class="lista_servicos_btn_saiba_mais">

                            <a href="<?php echo Util::imprime($row[url_amigavel]); ?>" title="SAIBA MAIS" class="botao">
                                SAIBA MAIS
                            </a>

                        </div>    
 
                    </li>
                <?php
                }
        }
        ?>
        
    </ul>
    
    
	
</div>






<?php require_once("../includes/rodape.php") ?>



</body>
</html>